package com.ibeeking.found.id.rest.controller.v1;

import com.ibeeking.found.id.rest.service.IIdService;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ClassName BunkInfoController控制器
 * @Description
 * @Author ibeeking
 * @Date 2020-10-22 10:34
 **/
@RestController
@RequestMapping("/id/feign/v1")
public class IdFeignController {

    @Resource
    private IIdService idServiceImpl;

    @PostMapping(value = "/selectIds/{count}")
    public List<Object> selectIds(@PathVariable Integer count) {
        return idServiceImpl.selectIds(count);
    }
}